﻿
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0014)about:internet -->
<html>
    <head>
        <meta content="Innovasys Document! X (http://www.innovasys.com)" name=GENERATOR>
        <!--DXMETADATA start type="MetaCharset" --><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><!--DXMETADATA end-->
        <!--DXMETADATA start type="PageItemTitle" format="<title>XTPTaskPanelItemAllowDrag Enumeration</title>" --><title>XTPTaskPanelItemAllowDrag Enumeration</title><!--DXMETADATA end-->
        <link href="stylesheets/axstylesheet.css" type=text/css rel=stylesheet>
        <script src="script/ax.js" type=text/javascript>
    </script>

    


<style>
html,div { margin: 0; padding: 0;}

body {
	padding: 0px;
	margin: 0px;
	overflow: auto;
	height: 100%;
}

#winchm_template_button{
	float: right;
	width: 93px;
	top: 7px;
	position: relative;
	text-align: right;
	right: 5px;
	height: auto;
}

#winchm_template_top{
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #9B9B9B;
	background-color: #B1CEFE;
}

#winchm_template_navigation{
	margin: 0px;
	padding-top: 7px;
	padding-left: 7px;
	padding-bottom: 3px;
	padding-right: 0px;
	font-size: 8.5pt;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #585858;
}

#winchm_template_title{
	margin: 0px;
	padding-top: 4px;
	padding-left: 7px;
	padding-bottom: 7px;
	padding-right: 0px;
	font-size: 18px; 
	font-family: Verdana, Geneva, sans-serif;
	color: #363636;
}

#winchm_template_content{
	margin-top: 20px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	width: auto  !important;
	width: 100%;
}

#winchm_template_footer{
	border-width: 1px;
	border-color: #B1CEFE;
	border-top-style: solid;
	margin-top: 15px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	padding-top: 7px;
	padding-left: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	font-family: arial, helvetica, sans-serif;
	font-size: 8.5pt;
	color: #696969;
	width: auto;
	text-align: left;
}


#winchm_template_container{
	margin: 0px;
	padding: 0px;
	position: static;
	padding-bottom: 3px;
	overflow: auto;
	background-color: #FFFFFF;
}


@media print
{
#winchm_template_container{
	position: static;	
	margin: 0px;
	padding: 5px;
	
	width: auto;
	height: auto;
	overflow: auto;
}
#winchm_template_button{
visibility:hidden;
}
}

#winchm_template_navigation A:link	{text-decoration: none; color:#004080}
#winchm_template_navigation A:visited  {text-decoration: none; color: #004080}
#winchm_template_navigation A:active {text-decoration: none; color: #004080 }
#winchm_template_navigation A:hover {text-decoration: none;color: #0080FF}

A:link	{text-decoration: underline; color:#0033CC}
A:visited  {text-decoration: underline; color: #0033CC}
A:active {text-decoration: underline; color: #0033CC }
A:hover {text-decoration: underline;color: #FF0000;}
</style>
<script type="text/javascript">
function isMobile(){
Agent = window.navigator.userAgent;
if (Agent.indexOf("iPhone")>=1 || Agent.indexOf("iPad")>=1 || Agent.indexOf("iPod")>=1 || Agent.indexOf("Android")>=1){
return true;
}else{
return false;	
}

}
function d_onresize(){
if (window.navigator.userAgent.indexOf("MSIE")>=1){
document.getElementById('winchm_template_container').style.pixelWidth = document.body.offsetWidth - 3;
document.getElementById('winchm_template_container').style.pixelHeight = document.body.offsetHeight - document.getElementById('winchm_template_top').offsetHeight - 4;
}
document.getElementById('winchm_template_container').style.top = document.getElementById('winchm_template_top').offsetHeight + 'px';
}

function d_onbeforeprint(){
document.getElementById('winchm_template_container').style.width = 'auto';
document.getElementById('winchm_template_container').style.height = 'auto';
}

function d_onafterprint(){
d_onresize();
}

if(!isMobile()){

window.onload = d_onresize;
window.onresize = d_onresize;
window.onbeforeprint = d_onbeforeprint;
window.onafterprint = d_onafterprint;

document.write("<style>\n");
document.write("body {overflow: hidden;}\n");
document.write("#winchm_template_container {position: absolute;overflow: auto;top : 0px;right: 0px;bottom: 0px;left: 0px;}\n");
document.write("</style>\n");
}

</script>
</head>
    <body><script language="JavaScript" type="text/JavaScript">
function syn(){
if(parent.nav.tree){
 if(parent.nav.tree.loaded){
  parent.nav.tree.selectNode(20151);
 }else{
  setTimeout("syn()",500);
}
  }else{
  setTimeout("syn()",500);
  }}
if(parent!=self){
  setTimeout("syn()",100);
}else{
  parent.location.href = "../index.htm?page=XtremeTaskPanel~Enumerations~XTPTaskPanelItemAllowDrag_EN.html";
}
originalOnload = window.onload;
if(originalOnload==null){
window.onload = function(){parent.contentLoaded = true;};
}else{
window.onload = function(){originalOnload();parent.contentLoaded = true;};
}
</script> 


<div id="winchm_template_top">
	<div id="winchm_template_button"><A href="XtremeTaskPanel~Enumerations~XTPTaskPanelHotTrackStyle_EN.html" title="Previous topic"><img id="winchm_template_prev" alt="Previous topic" src="template2/btn_prev_n.gif" border="0"></a><A href="XtremeTaskPanel~Enumerations~XTPTaskPanelItemLayout_EN.html" title="Next topic"><img id="winchm_template_next" alt="Next topic" src="template2/btn_next_n.gif" border="0"></a></div>
	<div id="winchm_template_navigation">Help &gt; 
<A href="welcome_screen.htm">Codejock ActiveX Controls v15.3</A> &gt; <A href="XtremeTaskPanel_P.html">Xtreme Task Panel</A> &gt; Enumerations &gt; </div>
	<div id="winchm_template_title">XTPTaskPanelItemAllowDrag Enumeration</div>
</div>
<div id="winchm_template_container">
	<div id="winchm_template_content"><div class=popupbubble id=dxseealsomenu><p id=dxseealsocontent><a href="#Bookmark19635">TaskPanel AllowDrag Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19744">TaskPanelGroup AllowDrag Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19777">TaskPanelGroupItem AllowDrag Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19832">TaskPanelItem AllowDrag Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19833">TaskPanelItem AllowDrop Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19745">TaskPanelGroup AllowDrop Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19778">TaskPanelGroupItem AllowDrop Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19783">DragText Property</a>
</p><!--DXMETADATA end --> 
        </div>
        <div id=pagetop>
            <div id=projectnamebanner>
                <table class=projectnametable cellspacing=0>
                    <tbody>
                        <tr>
                            <!--DXMETADATA start type="Literal" condition="childitems:itemtype=seealso" value="<td class='button'><a href='' id='seealsobutton' onclick='showSeeAlsoBox()'><img alt='See Also' border='0' src='axImages/seealso.gif' width=14 height=14></a></td>"--><td class='button'><a href='' id='seealsobutton' onclick='showSeeAlsoBox()'><img alt='See Also' border='0' src='axImages/seealso.gif' width=14 height=14></a></td><!--DXMETADATA end-->
                            <td>
                                <!--DXMETADATA start type="Phrase" Name="Product_Header" -->Xtreme Task Panel ActiveX Control v15.3<!--DXMETADATA end --> 
                            </td>
                            <td align=right>
                                <!--DXMETADATA start type="Variable" name="FeedbackLink" format="" --><!--DXMETADATA end --> 
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id=pagetitlebanner>
                <h1 class=dxh1>
                <!--DXMETADATA start type="PageItemTitle" -->XTPTaskPanelItemAllowDrag Enumeration<!--DXMETADATA end --></h1>
            </div>
        </div>
        <div id=pagebody valign="bottom">
            <!--DXMETADATA start type="IsNew" format="<script>document.all.pagebody.className = 'newTopic'</script>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="Description" source="Item" format="<h4 class=dxh4>$$Description$$</h4><p>%%description%%</p>" --><h4 class=dxh4>Description</h4><p><STRONG>XTPTaskPanelItemAllowDrag</STRONG>&nbsp;is an enumeration that represents a set of drag options that are used to specify how and when an item can be dragged and dropped.</p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="ENUM_MEMBER_LIST" namespace="enumeration member" source="Item" filter="" format="<h4 class=dxh4>$$Members$$</h4>%%filtereditemlist%%" --><h4 class=dxh4>Members</h4><TABLE CLASS="FilteredItemListTable" CellSpacing="0"><TR VALIGN="top"><TH width="30%">Member</TH><TH width="70%">Description</TH></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragNone</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Disable dragging.&nbsp; Specifies that the item or group can not be dragged.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragDefault</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Default drag options.&nbsp; Please see <STRONG>Note 1</STRONG> in Remarks section.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragCopyWithinGroup</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allows the item to only&nbsp;be&nbsp;<STRONG>copied</STRONG> within&nbsp;the group it belongs to.&nbsp; The item can not be <STRONG>copied</STRONG> outside of the group or TaskPanel control.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragCopyWithinControl</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allows the item to only&nbsp;be&nbsp;<STRONG>copied</STRONG> within&nbsp;<STRONG>any</STRONG> group in the Task Panel control.&nbsp; The item can not be <STRONG>copied</STRONG> outside of&nbsp;Task Panel control.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragCopyOutsideControl</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allows the item to only&nbsp;be&nbsp;<STRONG>copied</STRONG> <STRONG>outside&nbsp;</STRONG>the Task Panel control.&nbsp; The item can not be <STRONG>copied</STRONG> to any group inside of&nbsp;Task Panel control.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragCopy</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allow copy operation.&nbsp; Please see <STRONG>Note 2</STRONG> in Remarks section. This is the combination of&nbsp;<STRONG>xtpTaskItemAllowDragCopyWithinControl</STRONG> and <STRONG>xtpTaskItemAllowDragCopyOutsideControl</STRONG>.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragMoveWithinGroup</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allows the item to only&nbsp;be&nbsp;<STRONG>moved</STRONG> within&nbsp;the group it belongs to.&nbsp; The item can not be <STRONG>moved</STRONG> outside of the group or TaskPanel control.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragMoveWithinControl</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allows the item to only&nbsp;be&nbsp;<STRONG>moved</STRONG> within&nbsp;<STRONG>any</STRONG> group in the Task Panel control.&nbsp; The item can not be <STRONG>moved</STRONG> outside of&nbsp;Task Panel control.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragMoveOutsideControl</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allows the item to only&nbsp;be&nbsp;<STRONG>moved</STRONG> <STRONG>outside&nbsp;</STRONG>the Task Panel control.&nbsp; The item can not be <STRONG>moved</STRONG> to any group inside of&nbsp;Task Panel control.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragMove</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allow move operation.&nbsp; Please see <STRONG>Note 3</STRONG> in Remarks section.&nbsp; This is the combination of <STRONG>xtpTaskItemAllowDragMoveOutsideControl</STRONG> and<STRONG> xtpTaskItemAllowDragMoveWithinControl</STRONG>.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragWithinGroup</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allow drag within group only.&nbsp; Please see <STRONG>Note&nbsp;5</STRONG> in Remarks section.&nbsp;&nbsp; This is the combination of <STRONG>xtpTaskItemAllowDragCopyWithinGroup</STRONG>&nbsp; and&nbsp; <STRONG>xtpTaskItemAllowDragMoveWithinGroup</STRONG>.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDragWithinControl</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allow drag within task panel only.&nbsp; Please see <STRONG>Note&nbsp;6</STRONG> in Remarks section.&nbsp; This is the combination of <STRONG>xtpTaskItemAllowDragCopyWithinControl </STRONG>and&nbsp; <STRONG>xtpTaskItemAllowDragMoveWithinControl</STRONG>.</TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpTaskItemAllowDrag</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Allow all drag operations.&nbsp; Please see <STRONG>Note&nbsp;7</STRONG> in Remarks section.&nbsp; This is the combination of <STRONG>xtpTaskItemAllowDragCopyWithinControl</STRONG>, <STRONG>xtpTaskItemAllowDragCopyOutsideControl</STRONG>, <STRONG>xtpTaskItemAllowDragMoveWithinControl</STRONG> and&nbsp;<STRONG>xtpTaskItemAllowDragMoveOutsideControl</STRONG>.</TD></TR>
</TABLE><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##REMARKS" format="<h4 class=dxh4>$$Remarks$$</h4><p>%%comment%%</p>" --><h4 class=dxh4>Remarks</h4><p><P>The flags of the&nbsp;<STRONG>XTPTaskPanelItemAllowDrag</STRONG>&nbsp;enumeration are used to specify the drag options of the <A href="#Bookmark19611">TaskPanel</A>, <A href="#Bookmark19733">TaskPanelGroup</A>, and <A href="#Bookmark19764">TaskPanelGroupItem</A> objects.&nbsp; The <STRONG>AllowDrag</STRONG> property of each object is used to store the <STRONG>XTPTaskPanelItemAllowDrag</STRONG>&nbsp;flags.&nbsp; The <STRONG>XTPTaskPanelItemAllowDrag</STRONG>&nbsp;specify both how and where the item can be dragged and dropped.&nbsp; The <STRONG>AllowDrop</STRONG> property&nbsp;can be used to further restrict where an item can be dropped, see <STRONG>Note 4</STRONG>.</P>
<P>&nbsp;</P>
<P><STRONG>Note 1</STRONG>:</P>
<P>The<STRONG> xtpTaskItemAllowDragDefault </STRONG>flag has a different meaning depending on what type of item is using it.&nbsp; If&nbsp;<A href="#Bookmark19777">TaskPanelGroupItem.AllowDrag</A> = <STRONG>xtpTaskItemAllowDragDefault</STRONG>, &nbsp;then&nbsp;the item will use the AllowDrag&nbsp;settings from the group that it belongs to.&nbsp; If <A href="#Bookmark19744">TaskPanelGroup.AllowDrag</A> =&nbsp;<STRONG>xtpTaskItemAllowDragDefault</STRONG>, then the group will use the AllowDrop settings from the TaskPanel control.&nbsp; If <A href="#Bookmark19635">TaskPanel.AllowDrag</A> = <STRONG>xtpTaskItemAllowDragDefault</STRONG>, &nbsp;then <STRONG>xtpTaskItemAllowDrag</STRONG> is used.</P>
<P>&nbsp;</P>
<P><STRONG>Note 2</STRONG>:</P>
<P>The&nbsp;<STRONG>xtpTaskItemAllowDragCopy</STRONG> flag specifies that a <A href="#Bookmark19764">TaskPanelGroupItem</A>&nbsp;will be copied or "duplicated" when dragged and dropped.&nbsp; This means the the original item will not be moved and a new "duplicate" item will be created in the spot the item is dropped.&nbsp; This option allows items to be copied&nbsp;within any of the TaskPanel groups or outside of the TaskPanel control.&nbsp; This option only applies to <A href="#Bookmark19764">TaskPanelGroupItem</A>&nbsp;objects&nbsp;and is not used with TaskPanel Group objects.</P>
<P>&nbsp;</P>
<P><STRONG>Note 3</STRONG>:</P>
<P>The&nbsp;<STRONG>xtpTaskItemAllowDragMove </STRONG>flag specifies that a <A href="#Bookmark19764">TaskPanelGroupItem</A>&nbsp;will be moved when dragged and dropped.&nbsp; This means the the original item will&nbsp;be removed from its original position and inserted into the spot the item is dropped.&nbsp; This option allows items to be moved&nbsp;within any of the TaskPanel groups or outside of the TaskPanel control.&nbsp; This option only applies to <A href="#Bookmark19764">TaskPanelGroupItem</A>&nbsp;objects&nbsp;and is not used with TaskPanel Group objects.</P>
<P>&nbsp;</P>
<P><STRONG>Note 4</STRONG>:</P>
<P>The <STRONG>AllowDrop</STRONG> property&nbsp;can be used to further restrict where an item can be dropped.&nbsp; The <A href="#Bookmark19778">TaskPanelGroupItem.AllowDrop</A> property specifies whether another item can be "dropped" before the item.&nbsp; The <A href="#Bookmark19745">TaskPanelGroup.AllowDrag</A> property specifies whether items can be "dropped" into the group.</P>
<P>&nbsp;</P>
<P><STRONG>Note&nbsp;5</STRONG>:</P>
<P>During "normal" dragging and dropping of items, the item will be moved to the position it is dropped within the same group.&nbsp; If the <STRONG>Control (Ctrl) key</STRONG> is <STRONG>held down</STRONG> during the dragging and dropping of the item, then it will be copied.</P>
<P>The <STRONG>xtpTaskItemAllowDragWithinGroup </STRONG>flag behaves exactly as the <STRONG>xtpTaskItemAllowDragMoveWithinGroup </STRONG>flag during "normal" dragging and dropping of items.&nbsp; If the <STRONG>Control (Ctrl) key</STRONG> is <STRONG>held down</STRONG> during the dragging and dropping of the item, then it will behave like the <STRONG>xtpTaskItemAllowDragCopyWithinGroup</STRONG>&nbsp;flag.</P>
<P>&nbsp;</P>
<P><STRONG>Note&nbsp;6</STRONG>:</P>
<P>During "normal" dragging and dropping of items, the item will be moved to the position it is dropped within&nbsp;any group in the&nbsp;TaskPanel control.&nbsp; If the <STRONG>Control (Ctrl) key</STRONG> is <STRONG>held down</STRONG> during the dragging and dropping of the item, then it will be copied.</P>
<P>The <STRONG>xtpTaskItemAllowDragWithinControl </STRONG>flag behaves exactly as the <STRONG>xtpTaskItemAllowDragMoveWithinControl </STRONG>flag during "normal" dragging and dropping of items.&nbsp; If the <STRONG>Control (Ctrl) key</STRONG> is <STRONG>held down</STRONG> during the dragging and dropping of the item, then it will behave like the <STRONG>xtpTaskItemAllowDragCopyWithinControl </STRONG>flag.</P>
<P>&nbsp;</P>
<P><STRONG>Note&nbsp;7</STRONG>:</P>
<P>During "normal" dragging and dropping of items, the item will be moved anywhere inside or outside of the TaskPanel control.&nbsp; If the <STRONG>Control (Ctrl) key</STRONG> is <STRONG>held down</STRONG> during the dragging and dropping of the item, then the item will be copied instead of moved.</P>
<P>&nbsp;</P>
<P><STRONG>Note 8</STRONG>:</P>
<P>The <A href="#Bookmark19783">DrawText</A> property can be set for each <A href="#Bookmark19764">TaskPanelGroupItem</A>, this is the text string that is sent to the Target Component when an item is dropped onto a control outside of the TaskPanel.</P></p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##EXAMPLEINTRO" format="<h4 class=dxh4>$$Example$$</h4><p>%%comment%%</p>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="INLINE_EXAMPLE" namespace="Example" source="Item" filter="type=inline" NoHeader="True" NoFooter="True" format="<h4 class=dxh4>$$Example$$</h4>,format= %%%%filtereditemlist%%" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="MENU_LINK" namespace="seealso" source="Item" filter="" NoHeader="True" NoFooter="True" format="<h4 class=dxh4>$$See_Also$$</h4><p id=dxseealsocontent>%%filtereditemlist%%</p>" --><h4 class=dxh4>See Also</h4><p id=dxseealsocontent><a href="#Bookmark19635">TaskPanel AllowDrag Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19744">TaskPanelGroup AllowDrag Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19777">TaskPanelGroupItem AllowDrag Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19832">TaskPanelItem AllowDrag Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19833">TaskPanelItem AllowDrop Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19745">TaskPanelGroup AllowDrop Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19778">TaskPanelGroupItem AllowDrop Property</a>
&nbsp;|&nbsp;<a href="#Bookmark19783">DragText Property</a>
</p><!--DXMETADATA end --><!--DXMETADATA start type="Variable" name="CopyrightNotice" format="><!--DXMETADATA end --></div></div>	
	<div id="winchm_template_footer">Copyright &copy; 2018. All rights 
reserved. (To change the copyright info, just edit it in template.)</div>
</div>

</body>
</html>

